package com.shou.mapper;

import com.shou.pojo.DailyTask;
import com.shou.pojo.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface StudentMapper {

    List<Student> getStudentsByActivity(int activityId);

    void enrollStudent(int studentId, int activityId);

    void withdrawStudent(int studentId, int activityId);

    void applyForActivity(int studentId, int activityId);

    void cancelApplication(int studentId, int activityId);

    void applyForDailyTask(int studentId, DailyTask dailyTask);

    void updatePersonalInfo(int studentId, String name, int age);

    // 其他数据库操作方法...
}
